package com.hgq.tenadmin.md.client.service;

import com.github.pagehelper.PageInfo;
import com.hgq.tenadmin.md.client.param.ClientParam;
import com.hgq.tencommon.entity.md.client.MdClient;

import java.util.List;

public interface MdClientService {
    List<MdClient> findAllClientNoPage();

    List<MdClient> selectAllSalePeopleByClientName(String clientName);
    PageInfo<MdClient> selectAllClient(String clientName,int pageNum,int pageSize);

    PageInfo<MdClient> selectSeaAllClient(String clientName, int pageNum, int pageSize);

    void saveOneClient(ClientParam clientParam);
    void updateOneClient(ClientParam clientParam);

    void deleteOneClient(Integer cid);
    void updateClientToSea(Integer cid);
}
